package name.matthewgreet.example11.annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * <P>Defines a form field value (whether on a Struts Action or model of ModelDriven Struts Action) should be * modified using the Apache Commons WordUtilsString.capitalizeFully() function.</P> */ @Documented @Inherited @Target(ElementType.FIELD) @Retention(RetentionPolicy.RUNTIME) public @interface ToCapitalised { }